package com.pap.customer.info.auto.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.pap.base.mapper.PapBaseMapper;
import com.pap.customer.info.auto.entity.CustomerInfoRel;;

public interface CustomerInfoRelMapper extends PapBaseMapper<CustomerInfoRel> {
	int deleteByPrimaryKey(String id);

	int selectCountByMap(Map<Object, Object> map);

	List<CustomerInfoRel> selectListByMap(Map<Object, Object> map);

	CustomerInfoRel selectByPrimaryKeyAndTableName(@Param("id") String id,
			@Param("dynamicTableName") String dynamicTableName);

	int deleteByPrimaryKeyAndTableName(@Param("id") String id, @Param("dynamicTableName") String dynamicTableName);

	int insert(CustomerInfoRel record);

	int insertSelective(CustomerInfoRel record);

	CustomerInfoRel selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(CustomerInfoRel record);

	int updateByPrimaryKey(CustomerInfoRel record);
}